#ifndef REALTIMEPOS_H
#define REALTIMEPOS_H

#include "rtk.h"

class RealTimePos
{
public:
    RealTimePos();
    void SetOpt(prcopt_t);      //设置解算参数
    void StartPos(obs_t,obs_t); //开始RTK解算
    void GetPos(sol_t sol);     //获取定位结果
    void StartSPP(obs_t);       //开始单点定位解算

public:
    rtk_t rtk;  //存储解算配置信息和滤波信息
    nav_t nav;  //存储导航电文
};

#endif // REALTIMEPOS_H
